package com.base.common.persistent.model;

import java.util.Date;

/**
 * 终端信息实体类
 * 
 * @author kat.luhongkai
 *
 */
public class Terminal {
	private String androidClientId;	//	android个推id
	private String appleClientId;	//	android个推id
	private String appleId;		// 苹果设备id
	private int bid;			// 设备注册方式识别码
	private int captcha;		// 验证码
	private String code;		// 终端机器码
	private int id;				// 主键id
	private String openId;		// 微信id
	private String phone;		// 手机号码
	private Date registeTime;	// 注册时间
	private String remarks;		// 终端描述
	private int status = -1;			// 状态
	private User user;			// 用户实体类 
	
	private int userChooseCompoundsId;	// 用户选择的小区的主键ID
	public String getAndroidClientId() {
		return androidClientId;
	}
	public String getAppleClientId() {
		return appleClientId;
	}
	public String getAppleId() {
		return appleId;
	}
	public int getBid() {
		return bid;
	}
	public int getCaptcha() {
		return captcha;
	}
	public String getCode() {
		return code;
	}
	public int getId() {
		return id;
	}
	public String getOpenId() {
		return openId;
	}
	
	public String getPhone() {
		return phone;
	}
	public Date getRegisteTime() {
		return registeTime;
	}
	public String getRemarks() {
		return remarks;
	}
	public int getStatus() {
		return status;
	}
	public User getUser() {
		return user;
	}
	/**
	 * @return the userChooseCompoundsId
	 */
	public int getUserChooseCompoundsId() {
		return userChooseCompoundsId;
	}
	public void setAndroidClientId(String androidClientId) {
		this.androidClientId = androidClientId;
	}
	public void setAppleClientId(String appleClientId) {
		this.appleClientId = appleClientId;
	}
	public void setAppleId(String appleId) {
		this.appleId = appleId;
	}
	public void setBid(int bid) {
		this.bid = bid;
	}
	public void setCaptcha(int captcha) {
		this.captcha = captcha;
	}
	public Terminal setCode(String code) {
		this.code = code;
		return this;
	}
	public Terminal setId(int id) {
		this.id = id;
		return this;
	}
	public void setOpenId(String openId) {
		this.openId = openId;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public void setRegisteTime(Date registeTime) {
		this.registeTime = registeTime;
	}
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public void setUser(User user) {
		this.user = user;
	}
	/**
	 * @param userChooseCompoundsId the userChooseCompoundsId to set
	 */
	public void setUserChooseCompoundsId(int userChooseCompoundsId) {
		this.userChooseCompoundsId = userChooseCompoundsId;
	}
}
